﻿using Sudoku;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DAL
{
    partial class DAL
    {
        public class DAOFactory
        {
            private static DAOFactory instanca = null;
            public static DAOFactory Instanca
            {
                get { return (instanca == null) ? instanca = new DAOFactory() : instanca; }
            }

            private DAOFactory() { }
            public RekordDAO getRekordDAO()
            {
                return new RekordDAO();
            }
            public SquareBox getTablaDAO()
            {
                return new SquareBox();
            }
        }

    }
}
